const { booleanToString, stringToBoolean } = require("@/util/type-converter");
const PROPS = Object.freeze({
  name: "name",
  key: "key",
  createdAt: "createTime",
});
module.exports = {
  LABELS: Object.freeze({
    name: "流程名称",
    key: "流程代码",
    createdAt: "创建时间",
  }),
  PROPS,
  OPTION_KEYS: Object.freeze({
    status: "flow_path_status",
  }),
  INCOMPATIBLE_FIELD: {
    [PROPS.status]: [booleanToString, stringToBoolean],
  },
};
